import java.util.Scanner;

public class ArraySum {
    static int n = 0;
    public static int sum(int[] array){
        int tmp = 0;
        for(int i = 0; i < n; i++){
            tmp += array[i];
        }
        return tmp;
    }
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        n = scan.nextInt();
        int[] arr = new int[10];
        for(int i = 0; i < n; i++){
            arr[i] = scan.nextInt();
        }
        int Sum = sum(arr);
        System.out.println(Sum);
    }
}
